package com.haixin.security.dao;


import com.haixin.security.bean.UserRole;

import java.util.List;

public interface UserRoleMapper {
    List<UserRole> getAllUserRoles();
    List<Integer> getRolesByUserId(int userId);
    int insertUserRole(UserRole userRole);
    int deleteUserRolesByUserId(int userId);
    int deleteUserRole(UserRole userRole);
}
